{include file="common:meta" /}

<title>报表管理 - 统计 - TXCMS_V2</title>
<meta name="keywords" content="">
<meta name="description" content="">
{load href="__STATIC__/admin/layui/dist/css/layui.css"}
</head>
<body>
{include file="common:header" /}

{include file="common:menu" /}

<section class="Hui-article-box">
    <nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> <a href="{:url('index/index')}">首页</a>
        <span class="c-gray en">&gt;</span>
        报表管理
        <span class="c-gray en">&gt;</span>
        统计列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a> </nav>
    <div class="Hui-article">

        <article class="cl pd-20">
            <form class="form-inline" role="form" method="get" style="margin-top: 20px;" action="{:url('wind_control/index')}">
                <div class="form-group">
                    <span class="select-box" style="width: 100px;">
                          <select class="select" size="1" id="select" name="game_name">
                            <option value="" selected>全部</option>
                            {volist name="game_list" id="vo"}
                            <option value="{$vo.id}">{$vo.name}</option>
                              {/volist}
                          </select>
                    </span>&nbsp;&nbsp;&nbsp;
                    <input style="width: 120px;" type="text" class="input-text" id="nickname" name="nickname" placeholder="玩家昵称" >&nbsp;&nbsp;&nbsp;
                    <input type="text" placeholder="开始日期"  class="input-text" style="width: 150px;" autocomplete="off" name="startTime" id="test3"> - <input type="text"  name="endTime" placeholder="结束日期" id="test4" style="width: 150px;" class="input-text" autocomplete="off">
                </div>
                <button type="submit" class="btn btn-success-outline">查询</button>
            </form>
            <div class="table-responsive">
                <table class="table table-border table-bordered table-bg">
                    <thead>
                    <tr>
                        <th scope="col" colspan="7">统计列表</th>
                        <!--<th colspan="2" style="border-left-color: #f5fafe">-->
                            <!--<span style="font-size: xx-small;color: #FF0000;font-family: inherit">会员总下注:</span>&nbsp;&nbsp;&nbsp;&nbsp;-->
                            <!--<span style="font-size: xx-small;color: #FF0000;font-family: inherit">总输赢:</span>-->
                        <!--</th>-->
                    </tr>
                    <tr class="text-c">
                        <th width="40">玩家账号</th>
                        <th width="30">一段时间有效投注</th>
                        <th width="30">一段时间局数</th>
                        <th width="30">一段时间盈利</th>
                    </tr>

                    </thead>
                    <tbody>
                    <tr class="text-c">
                        <td>{$nickname ?? ''}</td>
                        <td>{$sum_bet ?? ''}</td>
                        <td>{$num_bot ?? ''}</td>
                        <td>{$winOrlose ?? ''}</td>
                    </tr>
                    </tbody>
                </table>
            </div>
            <!--</div>-->
            <div style="float: right"></div>

        </article>

    </div>

</section>
{include file="common:footer" /}

<!--请在下方写此页面业务相关的脚本-->
{load href="__STATIC__/admin/lib/My97DatePicker/4.8/WdatePicker.js"}
{load href="__STATIC__/admin/lib/datatables/1.10.0/jquery.dataTables.min.js"}
{load href="__STATIC__/admin/lib/laypage/1.2/laypage.js"}
<script type="text/javascript">
    laydate.render({
        elem: '#test3' //指定元素
        ,calendar: true
        ,theme: '#333'
        ,showBottom: true    //false隐藏控件底部按钮
        ,type: 'datetime'
    });
    laydate.render({
        elem: '#test4' //指定元素
        ,calendar: true
        ,theme: '#333'
        ,showBottom: true   //false隐藏控件底部按钮
        ,type: 'datetime'
    });

//    $('#button').click(function () {
//        var nickname = $('#nickname').val();
//        var select = $('#select').val();
//        var startTime = $('#test3').val();
//        var endTime = $('#test4').val();
//        $.ajax({
//            url:"{:url('wind_control/search')}",
//            type:'get',
//            data:{nickname:nickname,select:select,startTime:startTime,endTime:endTime},
//            success:function (res) {
//
//            }
//        })
//    })


</script>
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>